﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using Microhard.ApproveFlow.Buz.Validators;

namespace Microhard.ApproveFlow.Buz.Models
{
    [FluentValidation.Attributes.Validator(typeof(FlowChartModelValidator))]
    public class FlowChartModel : BasePermissionModel
    {
        public Guid FlowChartId { set; get; }
        public string FlowChartName { set; get; }
        public string Version { set; get; }
        public DateTime CreateDate { set; get; }
        public string Creator { set; get; }
        public DateTime LastUpdateDate { set; get; }
        public byte[] Content { set; get; }
        public Guid TypeId { set; get; }
        public int Status { set; get; }
        public string ResourceName { set; get; }
        public Guid ResourceID { set; get; }
        public string ResourceKeyName { set; get; }
        public Guid OperationID { set; get; }
        public string OperationKeyName { set; get; }
        public string OperationName { set; get; }
        public string WFXAMLFileName { set; get; }
    }
}
